import request from '@/utils/request'
// 接待数据
export function reception(data) {
  return request({
    url: '/admin/problem_answer/reception',
    method: 'post',
    data: data
  })
}
// 问答列表
export function answerList(data) {
  return request({
    url: '/admin/problem_answer/list',
    method: 'post',
    data: data
  })
}

export function answerSave(data) {
  return request({
    url: '/admin/problem_answer/save',
    method: 'post',
    data: data
  })
}
export function answerSort(data) {
  return request({
    url: '/admin/problem_answer/sort',
    method: 'post',
    data: data
  })
}
export function answerDel(data) {
  return request({
    url: '/admin/problem_answer/del',
    method: 'post',
    data: data
  })
}

export function answerSwitch(data) {
  return request({
    url: '/admin/problem_answer/switch',
    method: 'post',
    data: data
  })
}

